import { pubRequire } from '@utils/public'

//批量图片上传
export function uploadImg(formData, callbBack, errBack) {
  return pubRequire(
    'post',
    `/system/images/upload`,
    formData,
    callbBack,
    errBack
  )
}
//视频封面上传(保利威视)
export function uploadImgPolyv(formData, callbBack, errBack) {
  return pubRequire(
    'post',
    `/platforms/polyv/cover/upload`,
    formData,
    callbBack,
    errBack
  )
}

//获取保利威视封面图
export function getPolyvcover(obj, callbBack, errBack) {
  return pubRequire('get', `/platforms/polyv/cover`, obj, callbBack, errBack)
}
